package com.ayoka.parenting.ui.grown.share;

import android.support.v4.app.FragmentManager;

import com.ayoka.parenting.bean.ClassroomBean;
import com.ayoka.parenting.bean.ClassroomDetailBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: GrownCourseShareContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class GrownCourseShareContract {

    interface View extends BaseView {
        void configClassroomDetailData(ClassroomDetailBean data);

        void onSavePictureClick();

        void onSharePictureClick();
    }

    interface Presenter extends BasePresenter<View> {
        void getGrownClassroomShareData(String classroomId);

        void showPictureOperatorDialog(FragmentManager fragmentManager);
    }

    interface Model {
        void getGrownClassroomShareData(BasePresenter presenter, String classroomId, RequestCallback<ClassroomDetailBean> callback);
    }
}
